package eerbaar.v2.app.mouse;

import java.awt.Point;

public class MouseEvent2 {

    private final Point point;
    private boolean stop;

    public MouseEvent2(int x, int y) {
        this.point = new Point(x, y);
    }

    public Point getPoint() {
        return this.point;
    }

    public int getX() {
        return (int) this.point.getX();
    }

    public int getY() {
        return (int) this.point.getY();
    }

    public boolean isStopped() {
        return this.stop;
    }

    public void stop() {
        this.stop = true;
    }

}
